package com.ruoyi.tb.lmt.service;

import com.ruoyi.tb.lmt.domain.TbTaskReportingdetail;
import com.ruoyi.tb.lmt.domain.vo.TbTaskReportingdetailVo;
import com.ruoyi.tb.lmt.domain.bo.TbTaskReportingdetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 任务报工详情Service接口
 *
 * @author ruoyi
 * @date 2024-04-10
 */
public interface ITbTaskReportingdetailService {

    /**
     * 查询任务报工详情
     */
    TbTaskReportingdetailVo queryById(Long ID);

    /**
     * 查询任务报工详情列表
     */
    TableDataInfo<TbTaskReportingdetailVo> queryPageList(TbTaskReportingdetailBo bo, PageQuery pageQuery);

    /**
     * 查询任务报工详情列表
     */
    List<TbTaskReportingdetailVo> queryList(TbTaskReportingdetailBo bo);

    /**
     * 新增任务报工详情
     */
    Boolean insertByBo(TbTaskReportingdetailBo bo);

    /**
     * 修改任务报工详情
     */
    Boolean updateByBo(TbTaskReportingdetailBo bo);

    /**
     * 校验并批量删除任务报工详情信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
